# n = int(input("请输入一个整数: "))
# sum = 0
# for i in range (n+1) :
#     sum += i
#  print ( "1~%d的求和结果为%d"% (n,sum) );

# a,b,c=map(int,input("请输入三个数： ").split())
# if a>b:
#     a,b=b,a
# if a>c:
#     a,c=c,a
# if b>c:
#     b,c=c,b
# print(f"由小到大输出： {a},{b},{c}")


# for i in range (1,10) :  #for(int i=1;j<=9;i++);
#      for j in range ( 1,10 ) :
#          print ("%d x %d=%-2d "% ( j,i,i*j ) ,end = '')
#      print (1)
# for i in range (1,10) :
#      for j in range ( 1,10 ) :
#          print ("%d x %d=%-2d "% ( j,i,i*j ) ,end = '')
#      print (1)


# l = [1,2]
# n = int (input("斐波那契数列长度："))
# while (len(l) < n):
#     l.append(l[len(1) - 1] + l[len(l) - 2])
# print(l)


# for i in range(1,1000):
#     s=0
#     for j in range(1,i):
#         if i%j ==0:
#             s+=j
#     if s ==i:
#         print("%s" %i)